PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFLineAnnotation Class / setEndPoint Method / setEndPoint(double,double) Method
The x coordinate of the annotation's end point.
The y coordinate of the annotation's end point.
In This Topic
    setEndPoint(double,double) Method
    In This Topic
    Sets the line's end point.
    Syntax
    public void setEndPoint( 
       double x,
       double y
    )

    Parameters

    x
    The x coordinate of the annotation's end point.
    y
    The y coordinate of the annotation's end point.
    Exceptions
    ExceptionDescription
    Thrown when the annotation does not belong to a page.
    See Also